# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-mame2000
pkgver=0_git20200112
pkgrel=0
_commit="e5d4a934c60adc6d42a3f87319312aad89595a15"
pkgdesc="Multiple Arcade Machine Emulator for libretro (2000)"
url="https://github.com/libretro/mame"
arch="all !aarch64"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/mame2000-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/mame2000-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mame2000_libretro.so "$pkgdir"/usr/lib/libretro/mame2000_libretro.so
}

sha512sums="2208624f324b3bdc030d445bca6e4c936b96d66816e14a87b4dc83a9b9b261b1f9d801aabf0d53209da6326c059253ba1c3e1a5ca14768fb1b5b68501e4e1197  libretro-mame2000-e5d4a934c60adc6d42a3f87319312aad89595a15.tar.gz"
